﻿using System;
using System.Collections.Generic;
using System.Text;

using GDModel.Enum;

namespace GDBLL.Scene
{
    /// <summary>
    /// 野外类
    /// </summary>
    [Serializable]
    public class Field
    {
        private int m_id;

        /// <summary>
        /// ID
        /// </summary>
        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        private string m_name;
        /// <summary>
        ///  野外名称
        /// </summary>
        public string Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        private FieldType m_type;
        /// <summary>
        /// 野外地图类型
        /// </summary>
        public FieldType Type
        {
            get { return m_type; }
            set { m_type = value; }
        }

        /// <summary>
        /// 嵌套场景
        /// </summary>
        private List<Field> m_fields;

        public List<Field> Fields
        {
            get { return m_fields; }
            set { m_fields = value; }
        }

    }
}
